package io;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw = new PrintWriter("pw.txt");
        pw.println("你好，在吗");
        pw.println("在呢，什么事");
        System.out.println("写出完毕！");
        pw.close();
    }
}
